package com.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Section entity. @author MyEclipse Persistence Tools
 */

public class Section implements java.io.Serializable {

	// Fields

	private Integer sid;
	private User user;
	private String sectionName;
	private String date;
	private Set topics = new HashSet(0);

	// Constructors

	/** default constructor */
	public Section() {
	}

	/** minimal constructor */
	public Section(User user, String sectionName, String date) {
		this.user = user;
		this.sectionName = sectionName;
		this.date = date;
	}

	/** full constructor */
	public Section(User user, String sectionName, String date, Set topics) {
		this.user = user;
		this.sectionName = sectionName;
		this.date = date;
		this.topics = topics;
	}

	// Property accessors

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getSectionName() {
		return this.sectionName;
	}

	public void setSectionName(String sectionName) {
		this.sectionName = sectionName;
	}

	public String getDate() {
		return this.date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Set getTopics() {
		return this.topics;
	}

	public void setTopics(Set topics) {
		this.topics = topics;
	}

}